﻿namespace EasyToolkit.BindingTemplates.SortAndFilter
{
    using System;
    using System.Linq.Expressions;
    using EasyToolkit.BindingTemplates.Definitions.Binding;

    public interface ISortElement
    {
        IBindingDefinition BindingDefinition { get; }
        bool Descending  { get; }
        bool CaseSensitive { get; }
        object Sort(object source);
        Type ResultType  { get; }
    }
}
